

package com.maoshi.shop.security.comment.dao;

import com.maoshi.shop.security.comment.model.AppConnect;
import org.apache.ibatis.annotations.Param;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface AppConnectMapper extends BaseMapper<AppConnect> {

	AppConnect getByBizUserId(@Param("bizUserId") String bizUserId, @Param("appId") Integer appId);

	AppConnect getByUserId(@Param("userId") String userId, @Param("appId") Integer appId);

    String getUserIdByUnionId(@Param("bizUnionId") String bizUnionId);

	//合并代码开始
	AppConnect getByUnionId(@Param("bizUnionId") String bizUnionId);

	List<AppConnect> getAllAppConnect();

	AppConnect getByOpenId(@Param("bizUserId") String bizUserId);
	//合并代码结束
}
